import request from '@/utils/request'
// 通过id获取商品详情
export const findGoods = (id) => {
  return request('/goods', 'get', { id: id })
}
// 获取热销推荐
export const findGoodsHot = (id, limit = 3, type = 1) => {
  return request('/goods/hot', 'get', { id, limit, type })
}
